﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chloe.Annotations;

namespace Kang.DbDoc.Domains
{
    public class DbRoutine
    {
        /// <summary>
        /// 方法/存储过程名称
        /// </summary>
        [Column("routine_name")]
        public string Name { get; set; }

        /// <summary>
        /// 方法/存储过程类型
        /// </summary>
        [Column("routine_type")]
        public string Type { get; set; }

        /// <summary>
        /// 方法/存储过程注解
        /// </summary>
        [Column("routine_comment")]
        public string Comment { get; set; }

        /// <summary>
        /// 方法/存储过程返回参数类型
        /// </summary>
        [Column("data_type")]
        public string DataType { get; set; }

        /// <summary>
        /// 方法/存储过程内容
        /// </summary>
        [Column("routine_definition")]
        public string Definition { get; set; }

        /// <summary>
        /// 方法/存储过程定义者
        /// </summary>
        [Column("definer")]
        public string Definer { get; set; }
    }
}
